package com.atguigu.java8.lambda;

@FunctionalInterface
public interface MyPredicate<T> {

    boolean test(T t);

    // Error: Multiple non-overriding abstract methods found in interface com.atguigu.java8.lambda.MyPredicate
    // boolean test2(T t);

}
